<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title> xinyues.com 游戏后台管理系统</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" href="/gm/layui/css/layui.css"
	media="all">
</head>
<body class="layui-layout-body">
<div th:replace="gm/common :: html"></div>
	<div class="layui-layout layui-layout-admin">
		<div class="layui-header">
			<div class="layui-logo" style="width: 500px;color: white;">欢迎使用心悦网络-后台管理系统：<a href="http://www.xinyues.com" style="color: white;">http://www.xinyues.com</a></div>
			<!-- 头部区域（可配合layui已有的水平导航） -->
			
			<ul class="layui-nav layui-layout-right">
				<li class="layui-nav-item">
				<a href="javascript:;">  <span th:text="${session.loginAccount}"></span>
				</a>
					<dl class="layui-nav-child">
						<dd>
						   <a href="/layout/exit">安全退出</a>
						   <a href = "/layout/toUpdatePass" target="main_center">修改密码</a>
						</dd>
					</dl></li>
			</ul>
		</div>
		<div class="layui-side layui-bg-black">
			<div class="layui-side-scroll" id="menuDiv">
		
			</div>
		</div>
		<div class="layui-body">
			<iframe src="/layout/toCenter" frameborder="0"
				name="main_center" style="width: 100%; height: 100%;"></iframe>
		</div>
		<div class="layui-footer">
			<!-- 底部固定区域 -->
			心悦网络-游戏后台管理系统框架
		</div>
	</div>
	<script src="/gm/layui/layui.js" charset="utf-8"></script>
	<script type="text/javascript" src="/gm/server-option/server-common.js"></script>
	<script type="text/javascript" src="/gm/jquery.min.js"></script>
	<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->
	<script>
	layui.config({base:'gm/layui/'}).extend({
		treetable:'treetable-lay'
	});
	$(document).ready(function(){
		var url = "/layout/getMenu";
		var json ={};
		postAjax(url,json,function(data){
			if(data.code == 0){
				$("#menuDiv").html(data.msg);
				layui.use('element', function(){
					  var element = layui.element;
					  
					});
			}
		})
	});
	
	</script>
</body>
</html>